import { dictListAllByCode } from '@/services/sysDictApi';

export default {
  namespace: 'cersysdict',

  state: {
    data: {
      list: [],
      pagination: {},
    }
  },

  effects: {
    *dictListAllByCode({ payload }, { call, put }) {
      const response = yield call(dictListAllByCode, payload);
      return response;
    },
  },

  reducers: {

  },
};
